package com.muyu.danmo.domain;


import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 职位对象 danmo_information_positions
 * 
 * @author ruoyi
 * @date 2024-11-13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
public class DanmoInformationPositions extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 职位的唯一标识符（主键） */
    private Long positionId;

    /** 职位的名称（主席、副主席等） */
    @Excel(name = "职位的名称", readConverterExp = "主=席、副主席等")
    private String name;

    /** 级别 */
    @Excel(name = "级别")
    private String grade;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("positionId", getPositionId())
            .append("name", getName())
            .append("grade", getGrade())
            .toString();
    }
}
